/**
 * 定义一个学生类，学生有姓名，年龄
 * 学生可以学习、运动、说话
 */
public class StudentObject {
    String name;
    int age;

    void study(String course, String name){
        System.out.println(name + "要学："+ course);
    }

    void sport(String ball, String name){
        System.out.println(name + "要打" + ball);
    }

    void speak(String talk, String name){
        System.out.println(name + "说" + talk);
    }
}
